﻿@model IEnumerable<Enter.Mvc.Mall.Model.Product.Property_Value>     
<form id="J_FsdgSelect" action="search_product.htm" method="get">
<h3 class="offScreen">
    请按按下列属性进一步筛选商品</h3>
<div id="J_FsdgRecommendProp" class="colProp fsdg-colProp">
    @if (Model != null)
    {
        var count = 0;
        foreach (var item in Model)
        {

            var pName = @item.PropertyName.PName;
            var pNo = @item.PropertyName.PNo;

            if (count < 5)
            {               
        <div class="colProp-item clearself j_colPropClose">
            <h4 class="colProp-title">@pName：</h4>
            <ul class="colProp-list colProp-autoList colProp-autoList-a clearself ">
                @foreach (var vitem in item.PropertyValues)
                {
                    <li><a title="@vitem.VName" href="search_product?@vitem.Href">@vitem.VName</a></li>
                }
            </ul>
            <a hidefocus="true" class="more close hidden" href="javascript:void(0)"><b class="icon">
            </b>更多</a>
        </div>
                count++;
            }

        }
        count = 0;
        <div id="J_ColMoreProp" style="display: none;" class="more-prop">
            @foreach (var item in Model)
            {
                if (count >= 5)
                {
                    var pName = @item.PropertyName.PName;
                    var pNo = @item.PropertyName.PNo;
                <div class="colProp-item clearself j_colPropClose">
                    <h4 class="colProp-title">@pName：</h4>
                    <ul class="colProp-list colProp-autoList colProp-autoList-a clearself">
                        @foreach (var vitem in item.PropertyValues)
                        {
                            <li><a title="@vitem.VName" href="search_product?@vitem.Href">@vitem.VName</a></li>
                        }
                    </ul>
                    <a class="more close hidden" href="javascript:void(0)"><b class="icon"></b>更多</a>
                </div>
                } count++;
            }
        </div>
    }
</div>
<div id="J_ColPropToggler" class="colProp-toggler">
    <a class="close" href="javascript:void(0);"><b class="icon grayDown"></b>更多选项</a>
</div>
</form>
